Converts an integer code into the corresponding GenderType enum constant.
If the input integer does not match any predefined code,
UNKNOWN is returned as a fallback.
Return
The corresponding GenderType, or UNKNOWN if no match is found.
Parameters
The integer code to convert.